Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add estimatedExchangeRate property to quote response #498

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

raducristianpopa
Copy link
Member

Changes proposed in this pull request

Context

Copy link

changeset-bot bot commented Aug 23, 2024

🦋 Changeset detected

Latest commit: 12d3d6a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@interledger/open-payments Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Aug 23, 2024

Deploy Preview for openpayments-preview canceled.

Name Link
🔨 Latest commit 12d3d6a
🔍 Latest deploy log https://app.netlify.com/sites/openpayments-preview/deploys/66c7fd89b2d28a0008b2b240

Comment on lines 1196 to 1199
estimatedExchangeRate:
type: number
description: 'Estimated probed exchange rate over the path (ILP specific).'
readOnly: true
Copy link
Member Author

@raducristianpopa raducristianpopa Aug 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How will the estimatedExchangeRate be returned in this case? IIRC it should take into consideration exchange rate and fees (if they exist). Will this be computed on the RS and returned as a ready to use value for the consumer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return estimatedExchangeRate for quotes
1 participant